-- GENERATED SPELL FOR [Lady Sesspira] --


function spell0_6649(pUnit, Event) --@Explosive Shot,n/a--
pUnit:FullCastSpellOnTarget(15495,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6649', 1000, 1)
end

function spell1_6649(pUnit, Event) --@Forked Lightning,n/a--
pUnit:FullCastSpellOnTarget(20299,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6649', 2000, 1)
end

function spell2_6649(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(15547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6649', 616, 1)
end

function Sorts_6649(pUnit, Event)
local choix_sorts_6649 = math.random(0, 2)
if choix_sorts_6649 == 0 then
pUnit:RegisterEvent('spell0_6649', 1, 1)
end
if choix_sorts_6649 == 1 then
pUnit:RegisterEvent('spell1_6649', 1, 1)
end
if choix_sorts_6649 == 2 then
pUnit:RegisterEvent('spell2_6649', 1, 1)
end
end

function mob6649_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6649', math.random(1500, 3000), 1)
end

function mob6649_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6649_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6649_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6649, 1, 'mob6649_Action')
RegisterUnitEvent(6649, 2, 'mob6649_Leave')
RegisterUnitEvent(6649, 3, 'mob6649_Kill')
RegisterUnitEvent(6649, 4, 'mob6649_Die')
